export interface BuildingRoomCameraInfo {
  createBy?: string;
  createTime?: string;
  del?: boolean;
  floors?: Floor[];
  managers?: BuildingManager[];
  id?: number;
  name?: string;
  params?: Params4;
  phone?: string;
  remark?: string;
  updateBy?: string;
  updateTime?: string;
}

export interface BuildingManager {
  userId?: number;
  userName?: string;
  nickName?: string;
  buildingId?: number;
}

export interface Floor {
  createBy?: string;
  createTime?: string;
  del?: boolean;
  id?: number;
  name?: string;
  params?: Params;
  remark?: string;
  rooms?: Room[];
  updateBy?: string;
  updateTime?: string;
}

export interface Params {}

export interface Room {
  camera?: Camera;
  createBy?: string;
  createTime?: string;
  del?: boolean;
  id?: number;
  name?: string;
  params?: Params3;
  remark?: string;
  updateBy?: string;
  updateTime?: string;
  userId?: number | string;
}

export interface Camera {
  createBy?: string;
  createTime?: string;
  id?: number;
  ip?: string;
  name?: string;
  params?: Params2;
  remark?: string;
  roomId?: number;
  status?: number;
  updateBy?: string;
  updateTime?: string;
}

export interface Params2 {}

export interface Params3 {}

export interface Params4 {}

interface Rooms {
  name: string;
  cameraId: number | string;
}

interface Floors {
  name: string;
  rooms: Rooms[];
}

export interface BuildingFormData {
  name: string;
  adminId: number | string;
  telephone: string;
  floors: Floors[];
}
